package com.tbit.uqbike.client.pojo;

/**
 * @Author: chen
 * @Description: 阿里云OOS配置
 * @Date: 创建于 10:26 2020/8/3
 */
public class OssConfig {
    /**
     * 品牌id
     */
    private Integer accountId;
    /**
     * 品牌名称
     */
    private String brandName;
    /**
     * 接入点
     */
    private String endpoint;
    /**
     * key
     */
    private String accessKeyId;
    /**
     * secret
     */
    private String accessKeySecret;
    /**
     * 名称
     */
    private String bucketName;
    /**
     * 备注
     */
    private String remark;

    public OssConfig() {
    }

    public OssConfig(String endpoint, String accessKeyId, String accessKeySecret,
                     String bucketName) {
        this.endpoint = endpoint;
        this.accessKeyId = accessKeyId;
        this.accessKeySecret = accessKeySecret;
        this.bucketName = bucketName;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "OosConfig{" +
                "accountId=" + accountId +
                ", brandName='" + brandName + '\'' +
                ", endpoint='" + endpoint + '\'' +
                ", accessKeyId='" + accessKeyId + '\'' +
                ", accessKeySecret='" + accessKeySecret + '\'' +
                ", bucketName='" + bucketName + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
